package com.oa.ylms.apps.dao.plan;

import java.util.List;

import com.oa.ylms.apps.entity.plan.MessageInfoValue;

public interface IMessageInfoDao {
	
	public int addMessageInfo(MessageInfoValue messageInfo) throws Exception;
	
	public boolean modifyMessageInfo(MessageInfoValue messageInfo) throws Exception;
	
	public boolean deleteMessageInfo(MessageInfoValue messageInfo) throws Exception;
	
	public MessageInfoValue queryByMessageId(MessageInfoValue messageInfo) throws Exception;
	
	public List<MessageInfoValue> queryMessageInfoWithPage(MessageInfoValue messageInfo, int rows ,int pageNo) throws Exception;
	
	public int countTPage(MessageInfoValue messageInfo, int rows) throws Exception;
	
	public int getTotalNumber()throws Exception;
	
	public int getCount(MessageInfoValue messageInfo)throws Exception;
}
